package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.QueryUserCardResponse;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface IRoutineCardContact {

    interface IRoutineCardPresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {
        void queryUserCard(String s, String type);

        void unBindCard(String accessToken, String cardNo);

        void modifyCardNickName(String cardNo);

        void queryUserCardInfoTemp();
    }

    interface IRoutineCardView extends IBaseContact.IBaseView {

        // 获得数据成功
        void queryUserCardSuccess(QueryUserCardResponse response);

        void queryUserCardFalie(String msg);

        void unBindCardFail(String message);

        void unBindCardSucc();

        void modifyCardNickNameSucc();

        void modifyCardNickNameFail();

        void queryUserCardInfoTempSucc();

        void queryUserCardInfoTempFail();
    }


}
